<template>
    <router-view v-slot="{ Component }">
        <keep-alive>
            <component :is="Component"></component>
        </keep-alive>
    </router-view>
</template>

<script lang="ts">
export default {
    name: 'App',
    setup() {
        const d: HTMLElement = document.querySelector('#app')
        d.style.height = innerHeight + 'px'
    }
}
</script>

<style scoped>
</style>